package com.yrh.bean;


public class TProduct {
  private int productId;
  private String productName;
  private String productPic;
  private double productPrice;
  private String productDescribe;
  private int categoryId;
  private String productStatus;
  private String categoryName;//分类名称

  public TProduct() {
  }

  public TProduct(int productId, String productName, String productPic, double productPrice, String productDescribe, int categoryId, String productStatus, String categoryName) {
    this.productId = productId;
    this.productName = productName;
    this.productPic = productPic;
    this.productPrice = productPrice;
    this.productDescribe = productDescribe;
    this.categoryId = categoryId;
    this.productStatus = productStatus;
    this.categoryName = categoryName;
  }

  public int getProductId() {
    return productId;
  }

  public void setProductId(int productId) {
    this.productId = productId;
  }

  public String getProductName() {
    return productName;
  }

  public void setProductName(String productName) {
    this.productName = productName;
  }

  public String getProductPic() {
    return productPic;
  }

  public void setProductPic(String productPic) {
    this.productPic = productPic;
  }

  public double getProductPrice() {
    return productPrice;
  }

  public void setProductPrice(double productPrice) {
    this.productPrice = productPrice;
  }

  public String getProductDescribe() {
    return productDescribe;
  }

  public void setProductDescribe(String productDescribe) {
    this.productDescribe = productDescribe;
  }

  public int getCategoryId() {
    return categoryId;
  }

  public void setCategoryId(int categoryId) {
    this.categoryId = categoryId;
  }

  public String getProductStatus() {
    return productStatus;
  }

  public void setProductStatus(String productStatus) {
    this.productStatus = productStatus;
  }

  public String getCategoryName() {
    return categoryName;
  }

  public void setCategoryName(String categoryName) {
    this.categoryName = categoryName;
  }

  @Override
  public String toString() {
    return "TProduct{" +
            "productId=" + productId +
            ", productName='" + productName + '\'' +
            ", productPic='" + productPic + '\'' +
            ", productPrice=" + productPrice +
            ", productDescribe='" + productDescribe + '\'' +
            ", categoryId=" + categoryId +
            ", productStatus='" + productStatus + '\'' +
            ", categoryName='" + categoryName + '\'' +
            '}';
  }
}
